home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_65.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  139KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | reckoner | sky
OCR: Lesson 7 Mops' fixed- -point arithmetic The basic version of Mops (Mops. dic utilizes fixed-point arithmetic. also called integer arith metic instead of floating -point arithmetic (MopsFP. dic) The primary between the two is that fixed -point arithmetic functions only with integers. You had hint of that when you started experimenting with division in Mops: the answ 'e was either an integer quotient or quotient-plus- -remainder (both of which were integers) Floating point aritletic, on the other hand allows you to enter numbers with digits to the right of the decimal Floating point arithmetic S conv venient in many instances especially when results of operations traditionally are other than whole numbers: financial calculations, for example, which have cents to the right of the deci mal. Bu ...